@import './flex.css';
@import 'variables';
@import '~@cci/cp-frame-layout-theme/src/index.scss';
@import 'font.scss';
@import './form.scss';

// cci基础框架样
body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: PingFang SC, Microsoft YaHei, Helvetica Neue, Helvetica, Arial,
    Hiragino Sans GB, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
  }
}

.page-view {
  background: #fff;
  padding-top: 12px;
}

.page-demo {
  padding: 20px 24px;
}

.search-table-new {
  .el-table {
    th {
      background: $--table-th-color;
      padding: 11px 0;

      .cell {
        color: #333;
      }
    }

    td {
      padding: 2px 0 3px 0;
    }

    &::before {
      height: 0;
    }

    .el-table__row .el-checkbox__inner {
      position: unset !important;
    }
  }

  .el-table--border th,
  .el-table--border td {
    border-right: 1px solid #d9d9d9;
  }

  .el-table th.is-leaf,
  .el-table td {
    border-bottom: 1px solid #d9d9d9;
  }

  .el-table--group,
  .el-table--border {
    border: 1px solid #d9d9d9;
    border-bottom: none;
    border-right: none;
  }

  .el-table--group::after,
  .el-table--border::after {
    width: 0;
  }

  .el-pagination {
    text-align: right;
    // margin-top: 16px;
  }

  .el-table__empty-block {
    border-bottom: 1px solid #d9d9d9;
    border-right: 1px solid #d9d9d9;
  }

  .el-table__fixed::before,
  .el-table__fixed-right::before {
    width: 0 !important;
  }
}

.page-view-box {
  padding: 0;
}

.search-form-new {
  position: relative;
  height: 100%;
}

.search-form-func-btn {
  min-height: 32px;
  margin-bottom: 16px;

  .el-button {
    height: 32px;
    text-align: left;
    padding: 5px 16px;
  }
}

.search-form-func-btn2 {
  min-height: auto;
}

.el-icon-manages {
  background: url('~@/assets/icons/manage_icon.png') no-repeat center;
  font-size: 18px;
  background-size: cover;
  vertical-align: text-top;
  margin-right: -4px;
}

.el-icon-manages:before {
  content: '替';
  font-size: 18px;
  visibility: hidden;
}

.el-icon-humans {
  background: url('~@/assets/icons/humans_icon.png') no-repeat center;
  font-size: 18px;
  background-size: cover;
  vertical-align: text-top;
  margin-right: -4px;
}

.el-icon-humans:before {
  content: '替';
  font-size: 18px;
  visibility: hidden;
}

.viewer-container {
  z-index: 6666 !important;
}

.btn-base .el-button span {
  margin-left: 0;
}

.el-popover__title {
  font-weight: 500 !important;

  // 搜索表单label 取消加粗
  .relate-form2 {
    .el-form-item__label {
      font-weight: 500 !important;
    }
  }

  // 隐藏面包屑
  .page-header-dg {
    display: none;
  }
}


.search-table-new {

  // position: absolute;
  // top: 122px;
  // overflow-y: scroll;
  // height: 82%;
  // width: 98% !important;
  .el-table {
    th {
      background: $--table-th-color;
      padding: 11px 0;

      .cell {
        color: #333;
      }
    }

    td {
      padding: 2px 0 3px 0;
    }

    &::before {
      height: 0;
    }

    .el-table__row .el-checkbox__inner {
      position: unset !important;
    }
  }

  .el-table--border th,
  .el-table--border td {
    border-right: 1px solid #d9d9d9;
  }

  .el-table th.is-leaf,
  .el-table td {
    border-bottom: 1px solid #d9d9d9;
  }

  .el-table--group,
  .el-table--border {
    border: 1px solid #d9d9d9;
    border-bottom: none;
    border-right: none;
  }

  .el-table--group::after,
  .el-table--border::after {
    width: 0;
  }

  .el-pagination {
    text-align: right;
    margin-top: 16px;
  }

  .el-table__empty-block {
    border-bottom: 1px solid #d9d9d9;
    border-right: 1px solid #d9d9d9;
  }

  .el-table__footer-wrapper {
    .cell {
      line-height: 39px;
    }
  }
}

.search-form-new {
  position: relative;
  height: 100%;
}

.search-form-func-btn {
  min-height: 32px;
  margin-bottom: 16px;

  .el-button {
    height: 32px;
    text-align: center;
    padding: 5px 16px;
  }
}

.search-form-func-btn2 {
  min-height: auto;
}
